import axiosInstance from '@/api/axiosInstance'

// 定義查詢參數對象

/**
 * 獲取列表
 */
export const getPersonalInfo = async () => {
  return axiosInstance.get('/admin/personal/info')
}

/**
 * 獲取醫師銷售數據
 */
export const getPersonalSaleStat = async (params: any) => {
  return axiosInstance.get('/admin/personal/sale-stat',{params})
}

export const getPersonalDoctorBonus = async (params: any) => {
  return axiosInstance.get('/admin/personal/doctor-bonus',{params})
}
